﻿using System.ComponentModel.DataAnnotations;

namespace Api_Core_Spider.Models
{
    /// <summary>
    /// 机器信息模型，用于存储和传输机器相关信息
    /// </summary>
    public class MachineInfo
    {
        /// <summary>
        /// 机器码，唯一标识一台机器
        /// </summary>
        [Required]
        public string MachineCode { get; set; }

        /// <summary>
        /// CPU 信息
        /// </summary>
        public string CpuInfo { get; set; }

        /// <summary>
        /// 硬盘信息
        /// </summary>
        public string DiskInfo { get; set; }

        /// <summary>
        /// 网卡信息
        /// </summary>
        public string NetworkInfo { get; set; }

        /// <summary>
        /// 操作系统信息
        /// </summary>
        public string OsInfo { get; set; }

        /// <summary>
        /// 应用程序版本
        /// </summary>
        public string AppVersion { get; set; }
    }
}
